<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>滚动的小猫</title>
		<style>
			.cat {
				width: 100px;
				height: 100px;
				border-radius: 50%;

				background-image: url("cat.png");
				background-position: center;
				background-size: cover;
				animation: rollCat 5s 2;
			}
			@keyframes rollCat {

				0% {
					transform: translateX(0) rotate(0deg);
				}
				100% {
					transform: translateX(100px) rotate(360deg);

				}
			}
		</style>
	</head>
	<body>
		<div class="cat"></div>
	</body>
</html>